package com.skyline.jfs.storage.bean;

import java.io.IOException;
import java.rmi.Remote;
import java.util.List;

import com.skyline.jfs.namespace.dao.JFSFileDao;
import com.skyline.jfs.storage.dao.JFSStorageDao;
import com.skyline.jfs.storage.model.JFSStreamTranBlock;

public interface Loader extends Remote{

	public JFSStreamTranBlock load(String key) throws IOException, java.rmi.RemoteException;

	public void startLoad(String key) throws IOException, java.rmi.RemoteException;

	public void setJfsFileDao(JFSFileDao jfsFileDao) throws java.rmi.RemoteException;

	public JFSFileDao getJfsFileDao() throws java.rmi.RemoteException;

}
